package com.cloudkinto.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author hua
 * @since 2021-09-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_asin_shipment_item")
public class AsinShipmentItemDo extends Model<AsinShipmentItemDo> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("shipment_id")
    private String shipmentId;

    @TableField("commodity_sku")
    private String commoditySku;

    @TableField("fnsku")
    private String fnsku;

    @TableField("shipped_quantity")
    private Integer shippedQuantity;

    @TableField("received_quantity")
    private Integer receivedQuantity;

    @TableField("on_way_quantity")
    private Integer onWayQuantity;

    @TableField("in_case_quantity")
    private Integer inCaseQuantity;

    @TableField("declare_quantity")
    private Integer DeclareQuantity;

    @TableField("send_quantity")
    private Integer sendQuantity;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
